@echo off
:: 设置短路径环境变量
set VSTOOLS=C:\Progra~2\Microsoft Visual Studio 10.0\Common7\Tools\
:: set VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
set VS100cmd="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat"
:: call "%VS100COMNTOOLS%vsvars32.bat"
call VS100cmd

:: 编译单个文件测试
cl /nologo /EHsc /MDd /I"D:\vc\wxWidgets-3.2.6\include" /I"D:\vc\wxWidgets-3.2.6\lib\vc_lib\mswud" /I".\src\include" ".\src\sdk\annoyingdialog.cpp" /link /LIBPATH:"D:\vc\wxWidgets-3.2.6\lib\vc_lib" wxmsw32ud_core.lib

pause
